<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="utf-8" />
    <title>后台管理系统</title>
    <script>
        var _messages = <?php echo json_encode($_messages) ?>;
        var _webUrl = '<?php echo WEB_URL ?>';
    </script>
    <?php $this->addCss('lib/bootstrap/css/bootstrap.css') ?>
    <?php $this->addCss('stylesheets/theme.css') ?>
    <?php $this->addCss('lib/font-awesome/css/font-awesome.css') ?>
    <?php $this->addCss('css/main.css') ?>
    <?php $this->addJs('lib/jquery-1.7.2.min.js') ?>
    <?php $this->addJs('js/jquery.mask.js') ?>
    <?php $this->addJs('js/main.js') ?>
</head>

<body class="">
<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <li><a href="#" class="hidden-phone visible-tablet visible-desktop" role="button">设置</a></li>
            <li id="fat-menu" class="dropdown">
                <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                    <i class="icon-user"></i> <?php echo $_accountInfo['Account'] ?>
                    <i class="icon-caret-down"></i>
                </a>

                <ul class="dropdown-menu">
                    <li><a tabindex="-1" href="#">我的组</a></li>
                    <li class="divider"></li>
                    <li><a tabindex="-1" href="/Passport/LoginOut">退出登录</a></li>
                </ul>
            </li>
        </ul>
        <a class="brand" href="/"><span class="first"></span> <span class="second">后台管理系统</span></a>
    </div>
</div>
<div class="sidebar-nav">
    <?php foreach($_menu as $mk => $arr) : ?>
        <a href="#ul-<?php echo $mk; ?>" class="nav-header" data-toggle="collapse"><i class="icon-dashboard"></i><?php echo $arr['Name']; ?></a>
        <ul id="ul-<?php echo $mk; ?>" class="nav nav-list collapse <?php echo $mk == $_menuPath[0] ? 'in' : '' ?>">
        <?php foreach ($arr['List'] as $k => $v) : ?>
            <li class="<?php echo $k == $_menuPath[1] ? 'active' : ''; ?>"><a href="<?php echo $v['Url'] ?>"><?php echo $v['Name'] ?></a></li>
        <?php endforeach; ?>
        </ul>
    <?php endforeach; ?>
</div>



<div class="content">
    <?php
    /*
    <div class="header">
        <div class="stats">
            <p class="stat"><span class="number">53</span>tickets</p>
            <p class="stat"><span class="number">27</span>tasks</p>
            <p class="stat"><span class="number">15</span>waiting</p>
        </div>

        <h1 class="page-title">Dashboard</h1>
    </div>

    <ul class="breadcrumb">
        <li><a href="index.html">Home</a> <span class="divider">/</span></li>
        <li class="active">Dashboard</li>
    </ul>
    */
    ?>
    <div class="container-fluid">